﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BonsaiScrum.Core.Command;
using BonsaiScrum.Bus;
using BonsaiScrum.Core.Domain;
using BonsaiScrum.Core.Persistance;

namespace BonsaiScrum.Core.CommandHandlers
{
    public class DropSprintHandler : ICommandHandler<DropSprint>
    {
        private IDomainRepository _domainRepository;

        public DropSprintHandler(IDomainRepository domainRepository)
        {
            _domainRepository = domainRepository;
        }

        public void Handle(DropSprint message)
        {
            var sprint = _domainRepository.GetById<Sprint>(message.SprintId);


        }
    }
}
